package com.zrar.ak.gkpt.dao;

import com.zrar.ak.gkpt.model.bo.*;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName: IBusinessSchemeRefinementSoftwareHardwareDao
 * @Description: 方案细化基础软硬件表Dao层
 * @Author: CaoTao
 * @Create: 2020/04/03
 */
@Repository("businessSchemeRefinementSoftwareHardware")
public interface IBusinessSchemeSoftwareHardwareInfoDao extends Mapper<BusinessSchemeSoftwareHardwareInfoBO> {

    int querySoftByUnitId(Map map);

    int insertInfo(List<BusinessSchemeSoftwareHardwareInfoBO> softwareHardwareInfoBOList);

    int updateInfo(List<BusinessSchemeSoftwareHardwareInfoBO> softList);

    BusinessSchemeSoftwareHardwareInfoBO queryById(String id);

    int queryByType(Map map);

    List<BusinessSchemeSoftwareHardwareInfoBO> queryAllByBasicsId(String basicsId);
}
